API Docs for: 0.9.1
Show:

TeamCity listener Class

Constructor

TeamCity listener

()

Methods

_castAttribute

(
  • value
  • type
)
private

Casts the attribute value to the correct data-type

Parameters:

Returns:

:

_parseAttribute

(
  • attributes
  • attributeName
  • defaultValue
)
private

Parses a specific attribute

Parameters:

Returns:

:

_parseAttributes

(
  • attributes
  • parameters
)
private

Parses all attributes and returns a list of attributes in the correct order

Parameters:

Returns:

:

_unescape

(
  • msg
)
String private

Unescapes teamcity messages

Parameters:

Returns:

getConfiguration

() Object

Gets the configuration supplied

Returns:

getMessageMapping

() Object[]

Gets the mapping from TeamCity into Preceptor format

Returns:

getOptions

() Object

Gets the options

Returns:

getParentId

() String

Gets the parent-id of the team-city root messages

Returns:

getPlaceholder

() Object

Gets the placeholder and their replacements

Returns:

getRelayedMessages

() Object

Gets a list of relayed messages

Returns:

parse

(
  • text
  • [placeholder]
)
String

Inherited from AbstractListener but overwritten in lib/listener/teamCity.js:101

Parses a string and extracts message information

Parameters:

Returns:

processPlaceholder

(
  • text
  • [placeholder]
)
String

Processes a text with the placeholder

Parameters:

Returns:

triggerMessage

(
  • messageType
  • data
)

Triggers a message

Parameters: